
i = 0;
while i < 5:
    print(123)
    i+=1


for i in range(5):
    print(i)

print("*"*20)
for i in range(1,5):
    print(i)
